import React from 'react';
import {Route, Switch} from 'react-router-dom';
import LessonPage from '../pages/LessonPage/LessonPage';
import LessonList from "../pages/LessonList/LessonList";
import LessonEnter from "../pages/LessonEnter/LessonEnter";
export default ()=>{
    return (
        <Switch>
            <Route exact path="/" component={LessonPage} />
            <Route path="/lesson/lesson-list" component={LessonList} />
            <Route path="/lesson/lesson-enter" component={LessonEnter} />
        </Switch>
    )
}
